package com.jingmi.jingmiliving.commodity.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jingmi.common.utils.PageUtils;
import com.jingmi.jingmiliving.commodity.entity.BrandEntity;
import com.jingmi.jingmiliving.commodity.entity.CategoryBrandRelationEntity;

import java.util.List;
import java.util.Map;

/**
 * 品牌分类关联表
 *
 * @author jingmi
 * @email 2771368705@qq.com
 * @date 2023-10-21 09:17:35
 */
public interface CategoryBrandRelationService extends IService<CategoryBrandRelationEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveAll(CategoryBrandRelationEntity categoryBrandRelation);

    List<CategoryBrandRelationEntity> queryByBrandId(Long brandId);

    List<BrandEntity> queryByCategoryId(Long categoryId);
}

